home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 7950 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.3 KB

  1. Path: news.tuwien.ac.at!news
  2. From: Steffen Jakob <yobes@infosys.tuwien.ac.at>
  3. Newsgroups: comp.lang.c++
  4. Subject: [Q]: warning, debug, error streams
  5. Date: Thu, 15 Feb 1996 15:41:09 +0100
  6. Organization: Vienna University of Technology; Distributed Systems Department
  7. Message-ID: <31234605.1CFBAE39@infosys.tuwien.ac.at>
  8. NNTP-Posting-Host: w0.infosys.tuwien.ac.at
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=us-ascii
  11. Content-Transfer-Encoding: 7bit
  12. X-Mailer: Mozilla 2.0 (X11; I; SunOS 4.1.3_U1 sun4c)
  13.  
  14. Dear C++ers!
  15.  
  16. I am looking for some
  17.   - warning
  18.   - debug
  19.   - error
  20. streams, which I want to use in a compiler.
  21.  
  22. There should be a possibility to turn them on and off. Another thing is that I would like to be able to
  23. assign some debug level:
  24.  
  25.      debug.level(3) << "begin of ..." << ....
  26.  
  27. The output should only be displayed when the level is >= 3
  28.  
  29. csh> mycompiler -debug 3 afile
  30.  
  31. Are there any streams like this available (I know that it is not difficult to write them)?
  32.  
  33. Best wishes and thanx in advance,
  34. Steffen.
  35. -- 
  36. e-mail     : yobes@infosys.tuwien.ac.at   __|     \ /      |__    
  37. real life  : Steffen A. Jakob       __\o    \o     |     o/     o/__  
  38. {irc,fics} : Atan                 /)  |     ( \   /o\   / )     |  (\  
  39. www        : http://www.infosys.tuwien.ac.at/Staff/sj/
  40.